DEBUG = 1

ifeq ($(DEBUG), 1)  
    CFLAGS += -D _MY_DEBUG
	OPTION = -ggdb3 
endif

all : server.out client.out

client.out : client.cpp
	g++ $(OPTION) -o $@ $^

server.out : server.cpp
	g++ $(OPTION) -o $@ $^ -lpthread

.PHONY : clean, debug, release
clean :
	rm server.out client.out
